Skip to content

Conversation

@Dracyr
Copy link
Contributor

@Dracyr Dracyr commented Nov 1, 2020

Sublime (Linux, build 4090) threw an error for me when loading .res files

error parsing lexer: Packages/User/rescript-sublime/ReScript.sublime-syntax: invalid type for match at line 39 column 14
generating syntax summary
error: Error loading syntax file "Packages/User/rescript-sublime/ReScript.sublime-syntax": invalid type for match at line 39 column 14

AFAIK, tilde characters in yaml mean null [1], so they either need to be wrapped in quotes or escaped. Don't know if the yaml parser in Sublime Text 4 has been updated so that this now becomes an issue.

[1] https://yaml.org/spec/1.2/spec.html#id2805071

@IwanKaramazow IwanKaramazow merged commit c14ee3c into rescript-lang:master Nov 22, 2020
@IwanKaramazow
Copy link
Contributor

@Dracyr thanks!

@chenglou
Copy link
Member

chenglou commented Dec 5, 2020

Aaaah a fellow ST4 user =)
Yeah this is a new issue. Worked fine under ST3. Thanks for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants